#pragma once

#include <string>

namespace xrtc {

// ICE交换的随机数参数
struct IceParameters {
public: 
    IceParameters() = default;
    IceParameters(const std::string& ice_ufrag, const std::string& ice_pwd) 
                : m_ice_ufrag(ice_ufrag), m_ice_pwd(ice_pwd) {}

public:
    std::string m_ice_ufrag;
    std::string m_ice_pwd;
};    

// 根据ICE_UFRAG和ICE_PWD的长度生成随机的IceParameters   
class IceCredentials {
public:
    static IceParameters createRandomIceCredentials();

};

} // namespace xrtc